//
//  WFNavigationView.h
//  谷居
//
//  Created by dllo on 16/6/18.
//  Copyright © 2016年 刘万方. All rights reserved.
//

#import "WFBaseUIView.h"
#import "WFButtonText.h"
#import "WFUIView.h"
#import "WFImageView.h"
typedef NS_ENUM(NSInteger, NavigationType) {
    caseType = 0,
    picsType,
    guideType
};

@protocol WFNavigationViewDelegate <NSObject>
@optional
- (void)addTarget:(WFButtonText *)button;
- (void)backTorefreshTableViewWithId:(NSString *)_id indexType:(NSInteger)type;

@end


@interface WFNavigationView : WFBaseUIView

@property (nonatomic, assign) NSInteger buttonCount; /** 按钮个数. */

@property (nonatomic, retain) WFUIView *backgrounddView; /** 底层视图. */

@property (nonatomic, retain) WFButtonText *button; /** 按钮. */

@property (nonatomic, retain) WFImageView *butImageView; /** 箭头按钮. */

@property (nonatomic, assign) NSInteger buttonWidth; /** 按钮的宽度. */

@property (nonatomic, assign) NavigationType navigationType; /** 判断是哪个界面的标志. */

- (void)createTitleView:(NSMutableArray *)titleArray;


@property (nonatomic, assign) id<WFNavigationViewDelegate>delegate;

@property (nonatomic, retain) NSMutableDictionary *titleDic;

@property (nonatomic, assign) NSInteger symbol; /** 判断是哪个界面. */


@end
